//
//  BBDefaultController.h
//  xNose
//
//  Created by ben smith on 9/7/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

// handles all the adjustable 'global' values

@interface BBDefaultController : NSObject {
	NSLayoutManager * layoutManager;
	NSNumberFormatter * currencyFormatter;
	NSNumberFormatter * percentFormatter;
}
@property (retain) 	NSLayoutManager * layoutManager;
@property (retain) 	NSNumberFormatter * currencyFormatter;
@property (retain) 	NSNumberFormatter * percentFormatter;

+ (NSFont*)boldLargeFont;
+ (NSFont*)boldMediumFont;
+ (NSFont*)boldSmallFont;
+ (NSFont*)fontWithSize:(NSInteger)size key:(NSString*)key;
+ (NSFont*)regularLargeFont;
+ (NSFont*)regularMediumFont;
+ (NSFont*)regularSmallFont;
+ (float)fontHeight:(NSFont*)aFont;
- (void)awakeFromNib;
+ (NSFont*)infoFont;

+(NSColor*)costColor;
+(NSColor*)incomeColor;
+(NSColor*)profitColor;
+(NSNumberFormatter*)currencyFormatter;
// 9 methods
+(NSNumberFormatter*)percentFormatter;
-(IBAction)browseForFile:(id)sender;
@end
